rem 清理服务器上的文件
for /d %%i in (c:\users\*) do (
 for /f "delims=" %%d in ('dir /aa /b %%i\desktop\*.csv') do  del %%i\desktop\%%d 
 for /f "delims=" %%d in ('dir /aa /b %%i\desktop\*.xls') do  del %%i\desktop\%%d 

 for /f "delims=" %%d in ('dir /aa /b %%i\documents\*.csv') do  del %%i\documents\%%d 
 for /f "delims=" %%d in ('dir /aa /b %%i\documents\*.xls') do  del %%i\documents\%%d 
 
 for /f "delims=" %%d in ('dir /aa /b %%i\AppData\Local\CrashDumps\*.dmp') do del %%i\AppData\Local\CrashDumps\%%d

 rmdir /q /s %%i\appdata\local\microsoft\windows\wer\reportqueue
)